package com.schoolMall.dto;

import java.io.InputStream;

/**
 * @author:zyh
 * @Time:2021-09-01-10:20
 * @email:1269231889@qq.com
 */
public class ImageHolder {
    private String imageName;
    private InputStream imageInputStream;

    public ImageHolder(String imageName, InputStream image) {
        this.imageName = imageName;
        this.imageInputStream = image;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public InputStream getImageInputStream() {
        return imageInputStream;
    }

    public void setImageInputStream(InputStream imageInputStream) {
        this.imageInputStream = imageInputStream;
    }
}
